.TH cvrtclm 1  "November 26, 2018" "version 1.0.001" "USER COMMANDS"
.SH NAME
cvrtclm \- convert version of clm file to latest version 3
.SH SYNOPSIS
.B cvtrclm
[\-type {byte|short|int|float|double}] [\-scale s] [\-cellsize size]
.I infile outfile 
.SH DESCRIPTION
Program converts clm file into clm file with version 3. For version 1 file cellsize and scaling factor have to be specified, if they differ from default values. For version 2 type has to be specified if different from short.
.SH OPTIONS
.TP
\-type {byte|short|int|float|double}
Set type of data in header, default is short
.TP
\-scale s
set scaling factor in header, default is 1.
.TP
\-cellsize size
set cell size in header, default is 0.5.
.TP
.I infile    
filename of clm file to convert
.TP
.I outfile     
filename of clm data file written. Must differ from infile.
.SH EXAMPLES
.TP
Convert clm wateruse data file to version 3:
.B cvrtclm
-type int wateruse_1900-2000.bin wateruse_1900-2000_v3.clm
.PP
.SH EXIT STATUS
.B cvrtclm
returns a zero exit status if the clm file is created.
Non zero is returned in case of failure.

.SH AUTHORS

For authors and contributors see AUTHORS file

.SH COPYRIGHT

(C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file

.SH SEE ALSO
lpjml(1), asc2clm(1), cru2clm(1), grid2clm(1), cft2clm(1), catclm(1), clm(5)
